﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SharePoint.WebPartPages;
using System.Web.UI.WebControls.WebParts;
using System.ComponentModel;

namespace LanguageConfigurationSolution
{
    public class ContentByQueryWebPart : Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart
    {
        protected override void ModifyXsltArgumentList(Microsoft.SharePoint.WebPartPages.ArgumentClassWrapper argList)
        {
            base.ModifyXsltArgumentList(argList); 
            argList.AddExtensionObject("urn:LanguageConfiguration", LanguageConfigurationExtensionObject.Instance);            
        }

    }
}
